package com.yaorange.nongjt.domain;

import java.math.BigDecimal;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.yaorange.common.annotation.Excel;
import com.yaorange.common.core.domain.BaseEntity;

/**
 * 开具数量统计对象 njt_production_info
 * 
 * @author hzliu
 * @date 2025-09-27
 */
public class NjtProductionInfo extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键ID */
    private Long id;

    /** 生产主体 */
    @Excel(name = "生产主体")
    private String productionSubject;

    /** 法人姓名 */
    @Excel(name = "法人姓名")
    private String legalPersonName;

    /** 注册手机号 */
    @Excel(name = "注册手机号")
    private String registeredMobileNumber;

    /** 省 */
    @Excel(name = "省")
    private String province;

    /** 市 */
    @Excel(name = "市")
    private String city;

    /** 区/县 */
    @Excel(name = "区/县")
    private String districtCounty;

    /** 镇/乡 */
    @Excel(name = "镇/乡")
    private String townVillage;

    /** 产品数量 */
    @Excel(name = "产品数量")
    private Long productQuantity;

    /** 开具数量 */
    @Excel(name = "开具数量")
    private Long issueQuantity;

    /** 总数量/重量(公斤) */
    @Excel(name = "总数量/重量(公斤)")
    private BigDecimal totalQuantityWeight;

    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date createdAt;

    /** 更新时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "更新时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date updatedAt;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }

    public void setProductionSubject(String productionSubject) 
    {
        this.productionSubject = productionSubject;
    }

    public String getProductionSubject() 
    {
        return productionSubject;
    }

    public void setLegalPersonName(String legalPersonName) 
    {
        this.legalPersonName = legalPersonName;
    }

    public String getLegalPersonName() 
    {
        return legalPersonName;
    }

    public void setRegisteredMobileNumber(String registeredMobileNumber) 
    {
        this.registeredMobileNumber = registeredMobileNumber;
    }

    public String getRegisteredMobileNumber() 
    {
        return registeredMobileNumber;
    }

    public void setProvince(String province) 
    {
        this.province = province;
    }

    public String getProvince() 
    {
        return province;
    }

    public void setCity(String city) 
    {
        this.city = city;
    }

    public String getCity() 
    {
        return city;
    }

    public void setDistrictCounty(String districtCounty) 
    {
        this.districtCounty = districtCounty;
    }

    public String getDistrictCounty() 
    {
        return districtCounty;
    }

    public void setTownVillage(String townVillage) 
    {
        this.townVillage = townVillage;
    }

    public String getTownVillage() 
    {
        return townVillage;
    }

    public void setProductQuantity(Long productQuantity) 
    {
        this.productQuantity = productQuantity;
    }

    public Long getProductQuantity() 
    {
        return productQuantity;
    }

    public void setIssueQuantity(Long issueQuantity) 
    {
        this.issueQuantity = issueQuantity;
    }

    public Long getIssueQuantity() 
    {
        return issueQuantity;
    }

    public void setTotalQuantityWeight(BigDecimal totalQuantityWeight) 
    {
        this.totalQuantityWeight = totalQuantityWeight;
    }

    public BigDecimal getTotalQuantityWeight() 
    {
        return totalQuantityWeight;
    }

    public void setCreatedAt(Date createdAt) 
    {
        this.createdAt = createdAt;
    }

    public Date getCreatedAt() 
    {
        return createdAt;
    }

    public void setUpdatedAt(Date updatedAt) 
    {
        this.updatedAt = updatedAt;
    }

    public Date getUpdatedAt() 
    {
        return updatedAt;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("productionSubject", getProductionSubject())
            .append("legalPersonName", getLegalPersonName())
            .append("registeredMobileNumber", getRegisteredMobileNumber())
            .append("province", getProvince())
            .append("city", getCity())
            .append("districtCounty", getDistrictCounty())
            .append("townVillage", getTownVillage())
            .append("productQuantity", getProductQuantity())
            .append("issueQuantity", getIssueQuantity())
            .append("totalQuantityWeight", getTotalQuantityWeight())
            .append("createdAt", getCreatedAt())
            .append("updatedAt", getUpdatedAt())
            .toString();
    }
}
